Skip to content

Feature/sn 959 create performance tests for analyzers - #107

Merged
AnastasiaLyutova merged 8 commits into
masterfrom
feature/SN-959-Create-performance-tests-for-analyzers
Jul 13, 2026
Merged

Feature/sn 959 create performance tests for analyzers#107
AnastasiaLyutova merged 8 commits into
masterfrom
feature/SN-959-Create-performance-tests-for-analyzers

Conversation

@AnastasiaLyutova

@AnastasiaLyutova AnastasiaLyutova commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

SN-959
The test project is a [saritasa-forge-admin](https://github.com/saritasa-nest/saritasa-forge-admin) project. Since Saritasa Tools is a public project, it is not possible to use saritasa-rocks-eks or access private repositories. Below is an example of running benchmarks when adding a new analyzer to the project. The action itself will not run unless there are changes to the analyzer project.

For comparison, changes are taken from the current branch and the base (master) branch.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

BENCHMARK COMPARISON REPORT

📊 RESULTS:

 Report   | Type                    | Method                      |                Mean |  Gen0 |  Gen1 |           Allocated
 -------- | ----------------------- | --------------------------- | -------------------:| -----:| -----:| -------------------:
 Baseline | CodeAnalyzersBenchmarks | ExceptionMessageDotAnalyzer |             1.129 s |  9000 |  4000 |          226.658 MB
 Target   |                         |                             |    1.109 s (-1.74%) |  9000 |  4000 | 226.606 MB (-0.02%)
 Baseline | CodeAnalyzersBenchmarks | LineLengthAnalyzer          |           17.611 ms | 93.75 | 31.25 |             2.65 MB
 Target   |                         |                             |   17.872 ms (1.49%) | 93.75 | 31.25 |   2.635 MB (-0.56%)
 Baseline | CodeAnalyzersBenchmarks | RequestHandlersAnalyzer     |          962.485 ms |  7000 |  3000 |          185.216 MB
 Target   |                         |                             | 942.061 ms (-2.12%) |  7000 |  3000 | 183.763 MB (-0.78%)
 Baseline | CodeAnalyzersBenchmarks | SingularTypeNameAnalyzer    |          941.538 ms |  7000 |  3000 |          185.701 MB
 Target   |                         |                             |   943.436 ms (0.2%) |  7000 |  3000 |  185.903 MB (0.11%)
 Baseline | CodeAnalyzersBenchmarks | EarlyExitAnalyzer           |                     |       |       |                    
 Target   |                         | [NEW]                       |             1.023 s |  8000 |  4000 |          197.544 MB

@AlexanderMakarov124 AlexanderMakarov124 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work 👍

Comment thread .github/workflows/run-code-analyzers-benchmarks.yml Outdated
@AnastasiaLyutova
AnastasiaLyutova merged commit 28acc55 into master Jul 13, 2026
1 check passed
@AnastasiaLyutova
AnastasiaLyutova deleted the feature/SN-959-Create-performance-tests-for-analyzers branch July 13, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants